/*
 * @Author: your name
 * @Date: 2021-09-19 18:44:31
 * @LastEditTime: 2021-09-23 11:17:11
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \重构项目\briup-ej-app\src\store\index.js
 */
import Vue from 'vue'
import Vuex from 'vuex'
// 引入注册模块
import register from './register/register'
// 引入用户模块
import user from './user/user'
// 引入栏目管理模块
import category from './category/category'
// 引入产品管理模块
import product from './product/product'
// 引入购物车模块
import shopcart from './shopcart/shopcart' 
import foreignList from './foreignList' 
import ChinaList from './ChinaList' 

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    // 注册模块
    register,
    // 用户模块
    user,
    // 栏目模块
    category,
    // 产品模块
    product,
    // 购物车模块
    shopcart,
    //国外疫情数据
    foreignList,
    //国内疫情数据
    ChinaList
  }
})